package com.zxl.grocerymicroservicewechatmeal.repository;

import com.zxl.grocerymicroservicewechatmeal.dataobject.ProductCategory;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Author: zxl
 * @Description:
 * @Date: Created in 23:55 2017/11/14
 * @Modified By:
 */
public interface ProductCategoryRepository extends JpaRepository<ProductCategory,Integer> {
    /**
     * 按照类目id查询类目信息
     * @param categoryTypeList
     * @return
     */
    List<ProductCategory> findByCategoryTypeIn(List<Integer> categoryTypeList);
}
